package com.yf.course.modules.course.dto;

import com.yf.base.api.annon.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
* <p>
* 课程定员数据传输类
* </p>
*
* @author 聪明笨狗
* @since 2021-02-01 10:51
*/
@Data
@ApiModel(value="课程定员", description="课程定员")
public class CoursePersonDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    
    
    @ApiModelProperty(value = "自然ID", required=true)
    private String id;

    @ApiModelProperty(value = "课程ID", required=true)
    private String courseId;

    @Dict(dictTable = "sys_user", dicText = "real_name", dicCode = "id")
    @ApiModelProperty(value = "用户ID", required=true)
    private String userId;
    private String userId_dictText;
    
}
